<?php

include dirname(__FILE__) . '/include/init.php';
//include WEB_ROOT . '/include/smarty.class.php';
//include WEB_ROOT . '/include/mytpl.class.php';
//include WEB_ROOT . '/include/frontaction.class.php';


$action = new FrontAction();
//调用前台控制器中的run方法开始运行前台程序
$act = empty($_GET['a']) ? '' : $_GET['a']; //获取URL中的控制器
$aid = empty($_GET['aid']) ? '' : $_GET['aid'];
$m=empty($_GET['m']) ? '' : $_GET['m'];
$cid = empty($_GET['cid']) ? '' : $_GET['cid'];
$action->run($act, $aid,$m,$cid);
